package cn.lzj.user.service;

import cn.lzj.user.domain.User;
import cn.lzj.basic.service.IBaseService;
import cn.lzj.user.dto.UserDto;

import javax.mail.MessagingException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzj
 * @since 2022-06-02
 */
public interface IUserService extends IBaseService<User> {
    /**
     * 用户注册的接口
     *
     * @param userDto
     */
    void phoneregister(UserDto userDto);

    /**
     * 邮箱注册的接口
     * @param userDto
     */
    void emailregister(UserDto userDto) throws MessagingException;
}
